plug: Don't unregister windows that were never registered
authorBenjamin Otte <otte@redhat.com>
Mon, 8 Apr 2013 13:28:22 +0000 (15:28 +0200)
committerBenjamin Otte <otte@redhat.com>
Mon, 8 Apr 2013 14:34:19 +0000 (16:34 +0200)
commitb662e96e7e8ec83ee64ace74dd4d834a2a2c177d
tree335ce1b8b91ab861163ec9614c4dfb4cb481986b
parent5e7df8bf1473e3ea699dc7b31e1b487e08b17c36
plug: Don't unregister windows that were never registered

Fixes warnings when trying to unregister the socket window. The socket
window is foreign, so we shouldn't register it in the first place.

https://bugzilla.gnome.org/show_bug.cgi?id=697427
gtk/gtkplug.c